package com.etc.entity;

import javax.persistence.*;

@Entity
@Table
public class Comment {
    @Id
    private Integer cmid;

    private Integer userid;

    private String cmcontent;

    private Integer cmstatus;

    public Integer getCmid() {
        return cmid;
    }

    public void setCmid(Integer cmid) {
        this.cmid = cmid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getCmcontent() {
        return cmcontent;
    }

    public void setCmcontent(String cmcontent) {
        this.cmcontent = cmcontent == null ? null : cmcontent.trim();
    }

    public Integer getCmstatus() {
        return cmstatus;
    }

    public void setCmstatus(Integer cmstatus) {
        this.cmstatus = cmstatus;
    }
}